package com.example.xuyuli.entity;

public class User {
    private String name;
    private String password;
    private String StudentNumber;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getStudentNumber() {
        return StudentNumber;
    }

    public void setStudentNumber(String studentNumber) {
        StudentNumber = studentNumber;
    }

    public User(String name, String password, String studentNumber) {
        this.name = name;
        this.password = password;
        StudentNumber = studentNumber;
    }

    public User() {
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", StudentNumber='" + StudentNumber + '\'' +
                '}';
    }
}
